
<div *ngIf="showForm">
    <form nz-form>
        <div nz-row [nzGutter] = '24'>
              <nz-form-item>
                <nz-form-label [nzSpan]="5" nzRequired>选择楼栋</nz-form-label>
                <nz-form-control [nzSpan]="19" nzErrorTip="请选择!">
                  <section *ngIf="show">
                    <nz-spin [nzSize]="'small'" [nzSpinning]="isLoading">
                      <nz-tree-select
                      #treedom
                      id="tree"
                      [ngModelOptions]="{standalone: true}"
                      [nzNodes]="nodes"
                      [(ngModel)]="value"
                      nzShowSearch
                      (keyup)="onKey($event)"
                      [nzDropdownStyle]="{'max-height': '300px'}"
                      nzPlaceHolder="请选择"
                      (ngModelChange)="onChange($event)"
                      ></nz-tree-select>
                    </nz-spin>
                  </section>
                </nz-form-control>
              </nz-form-item>
              <sf #sf [formData]="param" [schema]="schema" (formSubmit)="formSubmit($event)"></sf>
        </div>
         
    </form>
</div>
